home *** CD-ROM | disk | FTP | other *** search
/ CD Actual Thematic 7: Programming / CDAT7.iso / demos / VisualAge for Java 2.0 Entry / setup / data1.cab / ide-e / IDE / cache / 1LUPMNE (.txt) < prev    next >
Encoding:
Java Class File  |  1998-09-16  |  1.2 KB  |  27 lines

  1. package com.sun.java.swing.plaf.basic;
  2.  
  3. import java.awt.event.FocusEvent;
  4. import java.awt.event.FocusListener;
  5.  
  6. class BasicComboBoxUI$ComboBoxFocusListener implements FocusListener {
  7.    // $FF: synthetic field
  8.    BasicComboBoxUI this$0;
  9.  
  10.    public void focusGained(FocusEvent e) {
  11.       this.this$0.comboBox.repaint();
  12.    }
  13.  
  14.    public void focusLost(FocusEvent e) {
  15.       if (!e.isTemporary()) {
  16.          this.this$0.popup.hide();
  17.       }
  18.  
  19.       this.this$0.comboBox.repaint();
  20.    }
  21.  
  22.    // $FF: synthetic method
  23.    BasicComboBoxUI$ComboBoxFocusListener(BasicComboBoxUI this$0) {
  24.       this.this$0 = this$0;
  25.    }
  26. }
  27.